﻿namespace ACCOUNTING
{
    using ACCOUNTING.My.Resources;
    using Microsoft.VisualBasic.CompilerServices;
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Drawing;
    using System.Runtime.CompilerServices;
    using System.Windows.Forms;

    [DesignerGenerated]
    public class Frm_TuyChonInBaoGia : Form
    {
        private static List<WeakReference> __ENCList = new List<WeakReference>();
        [AccessedThroughProperty("CKhienThi")]
        private CheckBox _CKhienThi;
        [AccessedThroughProperty("CmdCancel")]
        private Button _CmdCancel;
        [AccessedThroughProperty("CmdOK")]
        private Button _CmdOK;
        [AccessedThroughProperty("GroupBox1")]
        private GroupBox _GroupBox1;
        [AccessedThroughProperty("GroupBox2")]
        private GroupBox _GroupBox2;
        [AccessedThroughProperty("OptMau1")]
        private RadioButton _OptMau1;
        [AccessedThroughProperty("OptMau2")]
        private RadioButton _OptMau2;
        [AccessedThroughProperty("OptTiengAnh")]
        private RadioButton _OptTiengAnh;
        [AccessedThroughProperty("OptTiengViet")]
        private RadioButton _OptTiengViet;
        [AccessedThroughProperty("Panel1")]
        private Panel _Panel1;
        [AccessedThroughProperty("Panel2")]
        private Panel _Panel2;
        public string cFrmKhoaBaoGia;
        private IContainer components;

        public Frm_TuyChonInBaoGia()
        {
            List<WeakReference> list = __ENCList;
            lock (list)
            {
                __ENCList.Add(new WeakReference(this));
            }
            this.cFrmKhoaBaoGia = "";
            this.InitializeComponent();
        }

        private void CmdCancel_Click(object sender, EventArgs e)
        {
            this.Dispose();
        }

        private void CmdOK_Click(object sender, EventArgs e)
        {
            int num;
            string str;
            if (this.OptTiengViet.Checked)
            {
                str = "VIET";
            }
            else
            {
                str = "ANH";
            }
            if (this.CKhienThi.Checked)
            {
                num = 1;
            }
            else
            {
                num = 0;
            }
            if (this.OptMau1.Checked)
            {
                ReportModule.PrintBaoGia(this.cFrmKhoaBaoGia, str, num);
            }
            else
            {
                ReportModule.PrintBaoGia2(this.cFrmKhoaBaoGia, str, num);
            }
            this.Dispose();
        }

        [DebuggerNonUserCode]
        protected override void Dispose(bool disposing)
        {
            try
            {
                if (disposing && (this.components != null))
                {
                    this.components.Dispose();
                }
            }
            finally
            {
                base.Dispose(disposing);
            }
        }

        [DebuggerStepThrough]
        private void InitializeComponent()
        {
            ComponentResourceManager manager = new ComponentResourceManager(typeof(Frm_TuyChonInBaoGia));
            this.GroupBox1 = new GroupBox();
            this.OptTiengAnh = new RadioButton();
            this.OptTiengViet = new RadioButton();
            this.GroupBox2 = new GroupBox();
            this.OptMau2 = new RadioButton();
            this.OptMau1 = new RadioButton();
            this.CKhienThi = new CheckBox();
            this.CmdCancel = new Button();
            this.CmdOK = new Button();
            this.Panel1 = new Panel();
            this.Panel2 = new Panel();
            this.GroupBox1.SuspendLayout();
            this.GroupBox2.SuspendLayout();
            this.Panel1.SuspendLayout();
            this.Panel2.SuspendLayout();
            this.SuspendLayout();
            this.GroupBox1.Controls.Add(this.OptTiengAnh);
            this.GroupBox1.Controls.Add(this.OptTiengViet);
            Point point = new Point(7, 3);
            this.GroupBox1.Location = point;
            this.GroupBox1.Name = "GroupBox1";
            Size size = new Size(0x91, 0x66);
            this.GroupBox1.Size = size;
            this.GroupBox1.TabIndex = 0;
            this.GroupBox1.TabStop = false;
            this.GroupBox1.Text = "Ng\x00f4n ngữ";
            this.OptTiengAnh.AutoSize = true;
            point = new Point(0x22, 0x40);
            this.OptTiengAnh.Location = point;
            this.OptTiengAnh.Name = "OptTiengAnh";
            size = new Size(0x4a, 0x11);
            this.OptTiengAnh.Size = size;
            this.OptTiengAnh.TabIndex = 1;
            this.OptTiengAnh.Text = "Tiếng Anh";
            this.OptTiengAnh.UseVisualStyleBackColor = true;
            this.OptTiengViet.AutoSize = true;
            this.OptTiengViet.Checked = true;
            point = new Point(0x22, 0x1f);
            this.OptTiengViet.Location = point;
            this.OptTiengViet.Name = "OptTiengViet";
            size = new Size(0x49, 0x11);
            this.OptTiengViet.Size = size;
            this.OptTiengViet.TabIndex = 0;
            this.OptTiengViet.TabStop = true;
            this.OptTiengViet.Text = "Tiếng Việt";
            this.OptTiengViet.UseVisualStyleBackColor = true;
            this.GroupBox2.Controls.Add(this.OptMau2);
            this.GroupBox2.Controls.Add(this.OptMau1);
            point = new Point(0xa2, 3);
            this.GroupBox2.Location = point;
            this.GroupBox2.Name = "GroupBox2";
            size = new Size(150, 0x66);
            this.GroupBox2.Size = size;
            this.GroupBox2.TabIndex = 1;
            this.GroupBox2.TabStop = false;
            this.GroupBox2.Text = "Mẫu b\x00e1o gi\x00e1";
            this.OptMau2.AutoSize = true;
            point = new Point(0x22, 0x40);
            this.OptMau2.Location = point;
            this.OptMau2.Name = "OptMau2";
            size = new Size(0x45, 0x11);
            this.OptMau2.Size = size;
            this.OptMau2.TabIndex = 1;
            this.OptMau2.Text = "Mẫu số 2";
            this.OptMau2.UseVisualStyleBackColor = true;
            this.OptMau1.AutoSize = true;
            this.OptMau1.Checked = true;
            point = new Point(0x22, 0x1f);
            this.OptMau1.Location = point;
            this.OptMau1.Name = "OptMau1";
            size = new Size(0x45, 0x11);
            this.OptMau1.Size = size;
            this.OptMau1.TabIndex = 0;
            this.OptMau1.TabStop = true;
            this.OptMau1.Text = "Mẫu số 1";
            this.OptMau1.UseVisualStyleBackColor = true;
            this.CKhienThi.AutoSize = true;
            point = new Point(12, 110);
            this.CKhienThi.Location = point;
            this.CKhienThi.Name = "CKhienThi";
            size = new Size(0x71, 0x11);
            this.CKhienThi.Size = size;
            this.CKhienThi.TabIndex = 2;
            this.CKhienThi.Text = "Hiển thị d\x00f2ng tổng";
            this.CKhienThi.UseVisualStyleBackColor = true;
            this.CmdCancel.DialogResult = DialogResult.Cancel;
            this.CmdCancel.Image = (Image) manager.GetObject("CmdCancel.Image");
            this.CmdCancel.ImageAlign = ContentAlignment.MiddleLeft;
            point = new Point(0xec, 2);
            this.CmdCancel.Location = point;
            this.CmdCancel.Name = "CmdCancel";
            size = new Size(0x4f, 0x18);
            this.CmdCancel.Size = size;
            this.CmdCancel.TabIndex = 8;
            this.CmdCancel.Text = "&Tho\x00e1t";
            this.CmdCancel.UseVisualStyleBackColor = true;
            this.CmdOK.Image = (Image) manager.GetObject("CmdOK.Image");
            this.CmdOK.ImageAlign = ContentAlignment.MiddleLeft;
            point = new Point(0x98, 3);
            this.CmdOK.Location = point;
            this.CmdOK.Name = "CmdOK";
            size = new Size(0x4e, 0x18);
            this.CmdOK.Size = size;
            this.CmdOK.TabIndex = 7;
            this.CmdOK.Text = "&Chọn";
            this.CmdOK.UseVisualStyleBackColor = true;
            this.Panel1.BackColor = Color.Transparent;
            this.Panel1.Controls.Add(this.CKhienThi);
            this.Panel1.Controls.Add(this.GroupBox1);
            this.Panel1.Controls.Add(this.GroupBox2);
            this.Panel1.Dock = DockStyle.Fill;
            point = new Point(0, 0);
            this.Panel1.Location = point;
            this.Panel1.Name = "Panel1";
            size = new Size(0x141, 0xa5);
            this.Panel1.Size = size;
            this.Panel1.TabIndex = 9;
            this.Panel2.BackgroundImage = ACCOUNTING.My.Resources.Resources.bgleft;
            this.Panel2.Controls.Add(this.CmdCancel);
            this.Panel2.Controls.Add(this.CmdOK);
            this.Panel2.Dock = DockStyle.Bottom;
            point = new Point(0, 0xa5);
            this.Panel2.Location = point;
            this.Panel2.Name = "Panel2";
            size = new Size(0x141, 0x1d);
            this.Panel2.Size = size;
            this.Panel2.TabIndex = 10;
            SizeF ef = new SizeF(6f, 13f);
            this.AutoScaleDimensions = ef;
            this.AutoScaleMode = AutoScaleMode.Font;
            this.BackgroundImage = ACCOUNTING.My.Resources.Resources.background;
            size = new Size(0x141, 0xc2);
            this.ClientSize = size;
            this.ControlBox = false;
            this.Controls.Add(this.Panel1);
            this.Controls.Add(this.Panel2);
            this.FormBorderStyle = FormBorderStyle.FixedDialog;
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.Name = "Frm_TuyChonInBaoGia";
            this.StartPosition = FormStartPosition.CenterScreen;
            this.Text = "TUY CHON IN BAO GIA";
            this.GroupBox1.ResumeLayout(false);
            this.GroupBox1.PerformLayout();
            this.GroupBox2.ResumeLayout(false);
            this.GroupBox2.PerformLayout();
            this.Panel1.ResumeLayout(false);
            this.Panel1.PerformLayout();
            this.Panel2.ResumeLayout(false);
            this.ResumeLayout(false);
        }

        internal virtual CheckBox CKhienThi
        {
            [DebuggerNonUserCode]
            get
            {
                return this._CKhienThi;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._CKhienThi = value;
            }
        }

        internal virtual Button CmdCancel
        {
            [DebuggerNonUserCode]
            get
            {
                return this._CmdCancel;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                EventHandler handler = new EventHandler(this.CmdCancel_Click);
                if (this._CmdCancel != null)
                {
                    this._CmdCancel.Click -= handler;
                }
                this._CmdCancel = value;
                if (this._CmdCancel != null)
                {
                    this._CmdCancel.Click += handler;
                }
            }
        }

        internal virtual Button CmdOK
        {
            [DebuggerNonUserCode]
            get
            {
                return this._CmdOK;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                EventHandler handler = new EventHandler(this.CmdOK_Click);
                if (this._CmdOK != null)
                {
                    this._CmdOK.Click -= handler;
                }
                this._CmdOK = value;
                if (this._CmdOK != null)
                {
                    this._CmdOK.Click += handler;
                }
            }
        }

        internal virtual GroupBox GroupBox1
        {
            [DebuggerNonUserCode]
            get
            {
                return this._GroupBox1;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._GroupBox1 = value;
            }
        }

        internal virtual GroupBox GroupBox2
        {
            [DebuggerNonUserCode]
            get
            {
                return this._GroupBox2;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._GroupBox2 = value;
            }
        }

        internal virtual RadioButton OptMau1
        {
            [DebuggerNonUserCode]
            get
            {
                return this._OptMau1;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._OptMau1 = value;
            }
        }

        internal virtual RadioButton OptMau2
        {
            [DebuggerNonUserCode]
            get
            {
                return this._OptMau2;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._OptMau2 = value;
            }
        }

        internal virtual RadioButton OptTiengAnh
        {
            [DebuggerNonUserCode]
            get
            {
                return this._OptTiengAnh;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._OptTiengAnh = value;
            }
        }

        internal virtual RadioButton OptTiengViet
        {
            [DebuggerNonUserCode]
            get
            {
                return this._OptTiengViet;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._OptTiengViet = value;
            }
        }

        internal virtual Panel Panel1
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Panel1;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Panel1 = value;
            }
        }

        internal virtual Panel Panel2
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Panel2;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Panel2 = value;
            }
        }
    }
}

